<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" media="screen,projection,print"
	href="./css/header2_setup.css" />
<link rel="stylesheet" type="text/css" media="screen,projection,print"
	href="./css/layout4_setup.css" />
<link rel="stylesheet" type="text/css" media="screen,projection,print"
	href="./css/layout4_text.css" />
<link rel="icon" type="image/x-icon" href="./img/favicon.ico" />
<title>购物车</title>
</head>
<body>
	<div class="page-container">
		<div class="header">
			<div class="header-top">
				<br>
				<div class="sitename">
					<h1>
						<a href="index.do" title="Go to Start page">Flower&bull;SHOP<span
							style="font-weight: normal; font-size: 50%;">&nbsp;购客之家</span>
						</a>
					</h1>
					<h2>********************************************</h2>
				</div>
				<!-- Navigation Level 0 -->
				<div class="nav0">
					<ul>
						<li><a href="#" title="Pagina home in China"><img
								src="./img/china.bmp" alt="Image description" /> </a></li>
						<li><a href="#" title="Homepage auf American"><img
								src="./img/usa.bmp" alt="Image description" /> </a></li>
					</ul>
				</div>
				<!-- Navigation Level 1 -->
				<div class="nav1">
					<ul>
						<li><a href="index.do" title="Go to Start page">主页</a></li>
						<li><a href="showAll.do">全部商品</a></li>
						<li><a href="#">购客论坛</a></li>
						<li><a href="buy.do?method=add">我的购物车</a></li>
						<li><a href="about.do">关于</a></li>
					</ul>
				</div>
			</div>
			<div class="header-middle">
				<div class="sitemessage">
					<h1>简单 &bull; 方便 &bull; 时尚 &bull; 便捷</h1>
					<h2>
						<a href="buy.do?method=add"><img src="./img/shoppingcart.png"></img>
						</a>
					</h2>
					<h2>&rsaquo;&rsaquo;&nbsp;我的购物车</h2>
				</div>
			</div>
			<div class="header-breadcrumbs">
				<ul>
					<li><a href="index.do" title="Go to Start page">主页</a></li>
					<li><a href="showAll.do">全部商品</a></li>
					<li><a href="#">购客论坛</a></li>
					<li><a href="buy.do?method=add">我的购物车</a></li>
					<li><a href="advice.do">我要投诉</a></li>
					<li><a href="about.do">关于</a></li>
				</ul>
			</div>
		</div>
		<hr />
		<div>
			<h2>&nbsp;&nbsp;您的订单信息为</h2>
			<br />
			<form action="order_detail.do" method="post">
				
					<table cellspacing="20%" align="center">
						<tr>
							<td><font size="4">名称</font></td>
							<td><font size="4">数量</font></td>
							<td><font size="4">单价</font></td>
						</tr>
						<c:forEach items="${cartList}" var="c">
							<tr>
								<td><font size="3">${c.product_id }
										${c.product_name} </font></td>
								<td><font size="3"> ${c.sale_count} </font></td>
								<td><font size="3"> ${c.product_price } </font></td>
							</tr>
						</c:forEach>
						<tr>
							<td colspan="3" align="right"><input type="submit"
								value="提交订单" /></td>
						</tr>
					</table>
				
			</form>
		</div>
		<br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br />
		<br /> <br /> <br /> <br /> <br /> <br />
	</div>
	<center>
		<div class="footer">
			<p>Copyright &copy; 2020 flowershop | All Rights Reserved</p>
			<p class="credits">Design by Zhang Yadong</p>
		</div>
	</center>
</body>
</html>